package com.daijia.entity.price;

import javax.persistence.Column;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.daijia.entity.IdEntity;

public class Pricing extends IdEntity {

	@Column(name = "period_from")
	private double periodFrom;
	@Column(name = "period_to")
	private double periodTo;
	@Column(name = "starting_distance_range")
	private double startingDistanceRange;
	@Column(name = "starting_money")
	private double startingMoney;
	@Column(name = "step_distance")
	private double stepDistance;
	@Column(name = "step_money")
	private double stepMoney;
	public double getPeriodFrom() {
		return periodFrom;
	}
	public void setPeriodFrom(double periodFrom) {
		this.periodFrom = periodFrom;
	}
	public double getPeriodTo() {
		return periodTo;
	}
	public void setPeriodTo(double periodTo) {
		this.periodTo = periodTo;
	}
	public double getStartingDistanceRange() {
		return startingDistanceRange;
	}
	public void setStartingDistanceRange(double startingDistanceRange) {
		this.startingDistanceRange = startingDistanceRange;
	}
	public double getStartingMoney() {
		return startingMoney;
	}
	public void setStartingMoney(double startingMoney) {
		this.startingMoney = startingMoney;
	}
	public double getStepDistance() {
		return stepDistance;
	}
	public void setStepDistance(double stepDistance) {
		this.stepDistance = stepDistance;
	}
	public double getStepMoney() {
		return stepMoney;
	}
	public void setStepMoney(double stepMoney) {
		this.stepMoney = stepMoney;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
